﻿using System;

namespace DenisVuyka.Controls.PropertyGrid.Metadata
{
  [AttributeUsage(AttributeTargets.Property, AllowMultiple = false, Inherited = true)]
  public class PropertyOrderAttribute : Attribute
  {
    private readonly int order;
    public int Order
    {
      get { return order; }
    }

    public PropertyOrderAttribute(int order)
    {
      this.order = order;
    }
  }
}